package com.kingtsoft.study.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.kingtsoft.study.model.StudyHomeworkDetail;
import com.kingtsoft.study.persist.StudyHomeworkCheckMapper;
import com.kingtsoft.study.service.StudyHomeworkCheckService;

@Service
public class StudyHomeworkCheckServiceImpl implements StudyHomeworkCheckService {

	@Autowired
	public StudyHomeworkCheckMapper homeworkCheckMapper;

	@Override
	public List<StudyHomeworkDetail> check(String homeworkId) {

		List<StudyHomeworkDetail> list = homeworkCheckMapper.getHomeworkListbyid(homeworkId);
		return list;
	}

}
